package com.baizhiedu.basic.pojo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: robert.song
 * @Date: Created in 2021/7/29
 */
@Data
@AllArgsConstructor
public class Person {
    public Person() {
        System.out.println("new Persong");
    }

    private String name;
    private int age;
    private String password;

    private void init() {
        System.out.println("init");
    }

    private void destroy() {
        System.out.println("destroy" + age);
    }
}
